package com.fzkj.thread.demo8;

public class Test {
    public static void main(String[] args) {

        Market market = new Market();

        Producer p = new Producer(market);
        Consumer c = new Consumer(market);

        p.start();
        c.start();
    }
}
